package com.ws.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Employee {

    private int eid;         //员工编号
    private String ename;    //员工账号
    private String epass;    //员工密码
    private String realname; //员工姓名
    private int esex;        //员工性别 0-男 1-女
    private Date entrydate;  //入职时间
    private Date leavedate;  //离职时间
    private int position;    //职位 0-老板 1-经理 2-普通员工
    private int sal;         //底薪
    private int estatus;     //员工状态 0-在职 1-离职
    private int did;         //所属部门ID
    private String photo;    //员工头像

    private String dname;
}
